<?php
session_start();
if(!isset($_SESSION['isAdmin']) || $_SESSION['isAdmin'] == ''){
    echo "<script>alert('请以管理员身份登录以后访问本页面');location.href='login.php?source=admin';</script>";
    exit;
}